//
//  LoadImageCell.m
//  VICKY ZONE
//
//  Created by sunx on 15/3/25.
//  Copyright (c) 2015年 sunx. All rights reserved.
//

#import "LoadImageCell.h"

@implementation LoadImageCell
-(instancetype)initWithString:(NSString *)string {
    self = [super init];
    CGRect rect = [ UIScreen mainScreen ].applicationFrame;
    float width = rect.size.width;
    self.backgroundColor = [UIColor clearColor];
    UIView *view = [[UIView alloc] init];
    view.frame = CGRectMake(width*0.05, 0, width*0.9, 30);
    [self addSubview:view];
    self.textLabel.text = string;
    self.textLabel.textColor = [UIColor whiteColor];
    self.textLabel.textAlignment = NSTextAlignmentCenter;
    return self;
}
@end
